package com.itheima.domain;

import java.util.Date;

public class User {
    int id;
    String name;
    int producttime;
    String datatime;
    String address;

    public User(int id, String name, int producttime, String datatime, String address) {
        this.id = id;
        this.name = name;
        this.producttime = producttime;
        this.datatime = datatime;
        this.address = address;

    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getProducttime() {
        return producttime;
    }

    public void setProducttime(int producttime) {
        this.producttime = producttime;
    }

    public String getDatatime() {
        return datatime;
    }

    public void setDatatime(String datatime) {
        this.datatime = datatime;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", producttime=" + producttime +
                ", datatime='" + datatime + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
